#!/anaconda3/envs/Script/bin python3.8
# -*- coding: utf-8 -*-
# ---
# @Software: PyCharm
# @File: start.py
# @Author: AllenFu
# @Institution: NCHU, China
# @E-mail: nchufujianjian@126.com
# @Site: 
# @Time: 11月 25, 2020
# ---
from flask_cors import CORS

import environment
from app import app

environment.init('run')

flask_app = app
CORS(app=flask_app, supports_credentials =True)

if __name__ == '__main__':
    flask_app.debug=True
    flask_app.run(host='0.0.0.0', port=1573)
